<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我要借款-${_front_title}</title>
	<meta name="keywords" content="${_front_keywords}" />
    <meta name="description" content="${_front_description}" />
    <link rel="shortcut icon" href="/static/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="${_front_css}/main.css">
	<link rel="stylesheet" type="text/css" href="${_front_css}/index.css">
	<link rel="stylesheet" type="text/css" href="${_front_css}/borrow.css">
	<script type="text/javascript" src="${_front_js}/jquery.min.js"></script>
</head>
<body>
<!-- 头部 开始 -->
<div id="header">
	<#include "../base/top.ftl" />
</div>
<!-- 头部 结束 -->
<div style="background: #f2f2f2;">
	<div class="banner"></div>
    <div class="commonwidth">
        <ul class="productList">
        	<li>
            	<div class="picture p1">      
                    <p class="tips"><span class="icon ic1"></span>经营贷</p>
                	<p class="transparentBg"> </p>
                </div>
                <div class="intro">
                    <p>互惠互利，合作共赢</p>
                    <p class="range"><span class="red">适用范围：</span>高速发展期，盈利能力强的中小企业</p>
                </div>
                <div class="btnBox">
                	<p class="button btn_login" id="interest">立即申请</p>
                </div>
                <p class="shadow"></p>
            </li>
            <li>
            	<div class="picture p2">
                	<p class="tips"><span class="icon ic2"></span>周转贷</p>
                	<p class="transparentBg"></p>
                </div>
                <div class="intro">
                    <p>环环相扣，节节生金</p>
                    <p class="range"><span class="red">适用范围：</span>重点核心企业上游供应商、下游经销商客户</p>
                </div>
                <div class="btnBox">
                	<p class="button btn_login" id="chain">立即申请</p>
                </div>
                <p class="shadow"></p>
            </li>
            <li class="third">
            	<div class="picture p3">
                	<p class="tips"><span class="icon ic3"></span>供应链贷</p>
                	<p class="transparentBg"></p>
                </div>
                <div class="intro">
                    <p>灵通生活，轻松面对</p>
                    <p class="range">
                    	<span class="red">适用范围：</span>
                			 购车款, 房屋装修,办酒席
					</p>
                </div>
                <div class="btnBox">
                	<p class="button btn_not_login" id="fast">立即申请</p>
                </div>
                <p class="shadow"></p>
            </li>
            
            <li>
            	<div class="picture p4">
                	<p class="tips"><span class="icon ic4"></span>房E贷</p>
                	<p class="transparentBg"></p>
                </div>
               <div class="intro">
                    <p>厂商专享，成员互助，资源整合，效率提升</p>
                    <p class="range"><span class="red">适用范围：</span>程力集团成员厂、联营厂、专业厂</p>
                </div>
                <div class="btnBox">
                	<p class="button btn_not_login" id="product">立即申请</p>
                </div>
                <p class="shadow"></p>
            </li>
            
            <li>
            	<div class="picture p5">
                	<p class="tips"><span class="icon ic5"></span>车易贷</p>
                	<p class="transparentBg"></p>
                </div>
                <div class="intro">
                    <p>无需抵押，用途明确，随借随还，供销联动</p>
                    <p class="range"><span class="red">适用范围：</span>程力专汽公司供应商</p>
                </div>
                <div class="btnBox">
                	<p class="button btn_not_login" id="supply">立即申请</p>
                </div>
                <p class="shadow"></p>
            </li>
        </ul>
    </div>
</div>
<!-- 底部 开始 -->
	<#include "../base/foot.ftl" />
<!-- 底部 结束 -->
<script type="text/javascript" src="${_front_js}/layer/layer.js" ></script>
<script type="text/javascript" src="${_front_js}/layer/extend/layer.ext.js" ></script>
<script type="text/javascript">
	$(".btnBox p").click(function(){
		var type = $(this).attr("id");
		if($(this).hasClass('btn_not_login')){
			window.location.href="/front/borrow/apply/"+type;
			return false;
		}
		
		$.ajax({
			type: 'post',
            dataType: 'JSON',
            async:'false',
            url:'/front/apply/tender',
            success: function(result){
            	if(result.code == -1){
            		window.location.href="/front/borrow/apply/"+type;
            	}else{
            		if(result.code == 1){
            			window.location.href="/login";
            		}else if(result.code == 2){
            			window.location.href="/account/register";
            		}            		
            	}
            }
		})
	});
</script>
</body>
</html>
